package com.dxq.test.activity;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;

import com.blankj.utilcode.util.LogUtils;
import com.blankj.utilcode.util.ResourceUtils;
import com.dxq.test.R;

public class AssetsActivity extends AppCompatActivity {

    private TextView tvContent;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_assets);
        tvContent = (TextView) findViewById(R.id.tvContent);

        String out_json = ResourceUtils.readAssets2String("test/out_json.txt");
        LogUtils.i(out_json);
        tvContent.setText(out_json);
    }


}
